package com.xxxt.jxj.service;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.xxxt.entity.ClassGrade;
import com.xxxt.entity.Student;

public interface ClassGradeService {

	public boolean updateClassGrade(ClassGrade classGrade);
	
	public ClassGrade queryOneClassGradeByClassGradeId(String ClassGradeId);
	
	List<ClassGrade> selectAllClassGradeByGradeId(String gradeId);
	
	 boolean insertOneClassGrade(ClassGrade classGrade);
	 
	 List<ClassGrade> selcetAllClassGrade();
		
	List<ClassGrade> selcetAllPageClassGradeByGradeId(String gradeId,int pageNum,int pageSize);
		
	boolean deleteClassGrade(String classGradeId);
	
	boolean updateClassGradeForAdmin(String classGradeId,
			 String classGradeName, String gradeId, String id);
	
	List<Student> selectStudentByTnoAndClassGrade(String tno,String classGradeId,int pageNum,int pageSize);
	
	List<Student> selectStudentByTnoAndList(String tno, List<ClassGrade> classGradeIds,int pageNum,int pageSize);

}
